package com.zkthink.ceres.product.dto;

import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.zkthink.base.entity.Entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.Range;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 专题商品表
 * </p>
 *
 * @author JustArgo
 * @since 2020-09-11
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "SubjectProductPageDTO", description = "专题商品表")
public class SubjectProductPageDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 专题id
     */
    @ApiModelProperty(value = "专题id")
    @NotNull(message = "专题id不能为空")
    private Long subjectId;
    /**
     * 专题对应的商品id
     */
    @ApiModelProperty(value = "专题对应的商品id")
    @NotNull(message = "专题对应的商品id不能为空")
    private Long productId;
    /**
     * 是否展示
     */
    @ApiModelProperty(value = "是否展示")
    @NotNull(message = "是否展示不能为空")
    private Integer display;
    /**
     * 是否删除 1-删除 0-不删除
     */
    @ApiModelProperty(value = "是否删除 1-删除 0-不删除")
    @NotNull(message = "是否删除 1-删除 0-不删除不能为空")
    private Boolean isDelete;

}
